package gamescript;


import org.apache.logging.log4j.Logger;

import epoch.game.core.common.Loggers;
import epoch.game.core.script.java.IScriptEntry;
import epoch.game.core.script.java.ScriptManager;

/**
 * 脚本类
 * 
 * @author will
 * @date 2015年1月25日 下午4:39:43
 *
 */
public class ScriptEntry implements IScriptEntry {

	private static Logger log = Loggers.SCRIPT_LOGGER;
	private ScriptManager manager = ScriptManager.getMe();

	@Override
	public void init() {
		try {
			log.debug("ScriptEntry.init: classLoader="+this.getClass().getClassLoader());
		} catch (Exception ex) {
			log.error("init script err!"+ex, ex);
			throw ex;
		}
		log.info("init script finish!");
	}

}
